<template>
<div class="bread-crumb contain">
    <Breadcrumb>
        <BreadcrumbItem to="/">Home</BreadcrumbItem>
        <BreadcrumbItem to="/components/breadcrumb">Components</BreadcrumbItem>
        <BreadcrumbItem>Breadcrumb</BreadcrumbItem>
    </Breadcrumb>
</div>
</template>

<script>
export default {
    name: 'CommonBreadCrumb',
    data () {
        return {
            breadlist: ''
        }
    },
    mounted() {
        this.getBread();
    },
    methods: {
        getBread() {
            this.breadlist = this.$route.matched;
            // console.log("[BreadCrumb] breadlist" + JSON.stringify(this.$route.matched));
        }
    },
    computed: {
        
    }
}
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style lang="scss" scoped>

</style>
